//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;

public class TaskExpert implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long expertId;
    private Long userId;
    private BigDecimal sumScore;
    private BigDecimal score1;
    private BigDecimal score2;
    private BigDecimal score3;
    private BigDecimal score4;
    private BigDecimal score5;
    private BigDecimal score6;
    private BigDecimal score7;
    private Integer state;
    @TableField(
            exist = false
    )
    private String userLoginName;

    public TaskExpert() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getExpertId() {
        return this.expertId;
    }

    public Long getUserId() {
        return this.userId;
    }

    public BigDecimal getSumScore() {
        return this.sumScore;
    }

    public BigDecimal getScore1() {
        return this.score1;
    }

    public BigDecimal getScore2() {
        return this.score2;
    }

    public BigDecimal getScore3() {
        return this.score3;
    }

    public BigDecimal getScore4() {
        return this.score4;
    }

    public BigDecimal getScore5() {
        return this.score5;
    }

    public BigDecimal getScore6() {
        return this.score6;
    }

    public BigDecimal getScore7() {
        return this.score7;
    }

    public Integer getState() {
        return this.state;
    }

    public String getUserLoginName() {
        return this.userLoginName;
    }

    public TaskExpert setId(final Long id) {
        this.id = id;
        return this;
    }

    public TaskExpert setExpertId(final Long expertId) {
        this.expertId = expertId;
        return this;
    }

    public TaskExpert setUserId(final Long userId) {
        this.userId = userId;
        return this;
    }

    public TaskExpert setSumScore(final BigDecimal sumScore) {
        this.sumScore = sumScore;
        return this;
    }

    public TaskExpert setScore1(final BigDecimal score1) {
        this.score1 = score1;
        return this;
    }

    public TaskExpert setScore2(final BigDecimal score2) {
        this.score2 = score2;
        return this;
    }

    public TaskExpert setScore3(final BigDecimal score3) {
        this.score3 = score3;
        return this;
    }

    public TaskExpert setScore4(final BigDecimal score4) {
        this.score4 = score4;
        return this;
    }

    public TaskExpert setScore5(final BigDecimal score5) {
        this.score5 = score5;
        return this;
    }

    public TaskExpert setScore6(final BigDecimal score6) {
        this.score6 = score6;
        return this;
    }

    public TaskExpert setScore7(final BigDecimal score7) {
        this.score7 = score7;
        return this;
    }

    public TaskExpert setState(final Integer state) {
        this.state = state;
        return this;
    }

    public TaskExpert setUserLoginName(final String userLoginName) {
        this.userLoginName = userLoginName;
        return this;
    }

    public String toString() {
        return "TaskExpert(id=" + this.getId() + ", expertId=" + this.getExpertId() + ", userId=" + this.getUserId() + ", sumScore=" + this.getSumScore() + ", score1=" + this.getScore1() + ", score2=" + this.getScore2() + ", score3=" + this.getScore3() + ", score4=" + this.getScore4() + ", score5=" + this.getScore5() + ", score6=" + this.getScore6() + ", score7=" + this.getScore7() + ", state=" + this.getState() + ", userLoginName=" + this.getUserLoginName() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof TaskExpert)) {
            return false;
        } else {
            TaskExpert other = (TaskExpert)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label167: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label167;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label167;
                    }

                    return false;
                }

                Object this$expertId = this.getExpertId();
                Object other$expertId = other.getExpertId();
                if (this$expertId == null) {
                    if (other$expertId != null) {
                        return false;
                    }
                } else if (!this$expertId.equals(other$expertId)) {
                    return false;
                }

                label153: {
                    Object this$userId = this.getUserId();
                    Object other$userId = other.getUserId();
                    if (this$userId == null) {
                        if (other$userId == null) {
                            break label153;
                        }
                    } else if (this$userId.equals(other$userId)) {
                        break label153;
                    }

                    return false;
                }

                Object this$sumScore = this.getSumScore();
                Object other$sumScore = other.getSumScore();
                if (this$sumScore == null) {
                    if (other$sumScore != null) {
                        return false;
                    }
                } else if (!this$sumScore.equals(other$sumScore)) {
                    return false;
                }

                label139: {
                    Object this$score1 = this.getScore1();
                    Object other$score1 = other.getScore1();
                    if (this$score1 == null) {
                        if (other$score1 == null) {
                            break label139;
                        }
                    } else if (this$score1.equals(other$score1)) {
                        break label139;
                    }

                    return false;
                }

                Object this$score2 = this.getScore2();
                Object other$score2 = other.getScore2();
                if (this$score2 == null) {
                    if (other$score2 != null) {
                        return false;
                    }
                } else if (!this$score2.equals(other$score2)) {
                    return false;
                }

                label125: {
                    Object this$score3 = this.getScore3();
                    Object other$score3 = other.getScore3();
                    if (this$score3 == null) {
                        if (other$score3 == null) {
                            break label125;
                        }
                    } else if (this$score3.equals(other$score3)) {
                        break label125;
                    }

                    return false;
                }

                label118: {
                    Object this$score4 = this.getScore4();
                    Object other$score4 = other.getScore4();
                    if (this$score4 == null) {
                        if (other$score4 == null) {
                            break label118;
                        }
                    } else if (this$score4.equals(other$score4)) {
                        break label118;
                    }

                    return false;
                }

                Object this$score5 = this.getScore5();
                Object other$score5 = other.getScore5();
                if (this$score5 == null) {
                    if (other$score5 != null) {
                        return false;
                    }
                } else if (!this$score5.equals(other$score5)) {
                    return false;
                }

                label104: {
                    Object this$score6 = this.getScore6();
                    Object other$score6 = other.getScore6();
                    if (this$score6 == null) {
                        if (other$score6 == null) {
                            break label104;
                        }
                    } else if (this$score6.equals(other$score6)) {
                        break label104;
                    }

                    return false;
                }

                label97: {
                    Object this$score7 = this.getScore7();
                    Object other$score7 = other.getScore7();
                    if (this$score7 == null) {
                        if (other$score7 == null) {
                            break label97;
                        }
                    } else if (this$score7.equals(other$score7)) {
                        break label97;
                    }

                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                Object this$userLoginName = this.getUserLoginName();
                Object other$userLoginName = other.getUserLoginName();
                if (this$userLoginName == null) {
                    if (other$userLoginName != null) {
                        return false;
                    }
                } else if (!this$userLoginName.equals(other$userLoginName)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof TaskExpert;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $expertId = this.getExpertId();
        result1 = result * 59 + ($expertId == null ? 43 : $expertId.hashCode());
        Object $userId = this.getUserId();
        result1 = result * 59 + ($userId == null ? 43 : $userId.hashCode());
        Object $sumScore = this.getSumScore();
        result1 = result * 59 + ($sumScore == null ? 43 : $sumScore.hashCode());
        Object $score1 = this.getScore1();
        result1 = result * 59 + ($score1 == null ? 43 : $score1.hashCode());
        Object $score2 = this.getScore2();
        result1 = result * 59 + ($score2 == null ? 43 : $score2.hashCode());
        Object $score3 = this.getScore3();
        result1 = result * 59 + ($score3 == null ? 43 : $score3.hashCode());
        Object $score4 = this.getScore4();
        result1 = result * 59 + ($score4 == null ? 43 : $score4.hashCode());
        Object $score5 = this.getScore5();
        result1 = result * 59 + ($score5 == null ? 43 : $score5.hashCode());
        Object $score6 = this.getScore6();
        result1 = result * 59 + ($score6 == null ? 43 : $score6.hashCode());
        Object $score7 = this.getScore7();
        result1 = result * 59 + ($score7 == null ? 43 : $score7.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $userLoginName = this.getUserLoginName();
        result1 = result * 59 + ($userLoginName == null ? 43 : $userLoginName.hashCode());
        return result1;
    }
}
